package com.hy.medicine.evaluation.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; /**
 * 评价回复DTO
 */
@Data
public class EvaluationReplyDTO {
    @NotNull(message = "评价ID不能为空")
    private Integer evaluationId;

    @NotBlank(message = "回复内容不能为空")
    @Size(max = 500, message = "回复内容不能超过500字")
    private String replyContent;

    private Integer parentId; // 父回复ID
}
